.class public Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
.super Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;
.source "CardViewPagerFragment.java"

# interfaces
.implements Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;",
        "Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener",
        "<",
        "Landroid/support/v4/view/ViewPager;",
        ">;"
    }
.end annotation


# static fields
.field private static final APP_MODEL_LIST:Ljava/lang/String; = "AppModels"

.field private static final CARD_TYPE:Ljava/lang/String; = "CardType"

.field private static final INIT_FETCH_DATA:Ljava/lang/String; = "InitFetchData"

.field private static final IS_FOR_ACTIVITY:Ljava/lang/String; = "IsForActivity"

.field private static final TOPIC_MODEL:Ljava/lang/String; = "TopicModel"

.field public static final VIEW_PAGER_PAGE_CHANGE_DURATION:I = 0x190

.field public static currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;


# instance fields
.field private activity:Landroid/app/Activity;

.field private appJsonObjCallback:Lretrofit/Callback;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lretrofit/Callback",
            "<",
            "Lorg/json/JSONObject;",
            ">;"
        }
    .end annotation
.end field

.field private currentRequestPage:I

.field private currentTopicModel:Lcom/brixd/niceapp/model/TopicModel;

.field private currentViewPagerPage:I

.field private isAdapterUpdated:Z

.field private isForActivity:Z

.field private mAppModels:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;"
        }
    .end annotation
.end field

.field private mCardAppPagerAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;

.field private mHasNext:Z

.field private mIsRequesting:Z

.field private mMainView:Landroid/view/View;

.field private mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

.field private mPullToRefreshViewPager:Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;

.field private mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

.field private mRocketToHeadBtn:Landroid/widget/ImageButton;

.field private mSideMenuOrBackBtn:Landroid/widget/Button;

.field private mSoundUtils:Lcom/brixd/niceapp/util/SoundUtils;

.field private mTimeFirstText:Landroid/widget/TextView;

.field private mTimeSecondText:Landroid/widget/TextView;

.field private mViewPager:Landroid/support/v4/view/ViewPager;

.field private onPageChangeListener:Landroid/support/v4/view/ViewPager$OnPageChangeListener;

.field private preColor:I

.field private rhythmAdapter:Lcom/brixd/niceapp/control/RhythmAdapter;

.field private rhythmItemListener:Lcom/brixd/niceapp/control/IRhythmItemListener;

.field private shouldFetchDataOnInit:Z


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .prologue
    .line 81
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->DAILY_NICE_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sput-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    return-void
.end method

.method public constructor <init>()V
    .registers 2

    .prologue
    const/4 v0, 0x1

    .line 72
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;-><init>()V

    .line 100
    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mHasNext:Z

    .line 101
    iput v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    .line 102
    const-string v0, "0xFFFFFF"

    invoke-static {v0}, Ljava/lang/Long;->decode(Ljava/lang/String;)Ljava/lang/Long;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Long;->intValue()I

    move-result v0

    iput v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->preColor:I

    .line 103
    const/4 v0, 0x0

    iput v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentViewPagerPage:I

    .line 105
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$1;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$1;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->rhythmItemListener:Lcom/brixd/niceapp/control/IRhythmItemListener;

    .line 132
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$2;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$2;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->appJsonObjCallback:Lretrofit/Callback;

    .line 176
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$3;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$3;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->onPageChangeListener:Landroid/support/v4/view/ViewPager$OnPageChangeListener;

    .line 765
    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Landroid/support/v4/view/ViewPager;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mViewPager:Landroid/support/v4/view/ViewPager;

    return-object v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mPullToRefreshViewPager:Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;

    return-object v0
.end method

.method static synthetic access$1000(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Ljava/util/List;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$1100(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->fetchData()V

    return-void
.end method

.method static synthetic access$1200(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Landroid/app/Activity;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->activity:Landroid/app/Activity;

    return-object v0
.end method

.method static synthetic access$1300(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Landroid/widget/ImageButton;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRocketToHeadBtn:Landroid/widget/ImageButton;

    return-object v0
.end method

.method static synthetic access$1400(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->isAdapterUpdated:Z

    return v0
.end method

.method static synthetic access$1500(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;Ljava/util/List;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .param p1, "x1"    # Ljava/util/List;

    .prologue
    .line 72
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->resetRhythmLayout(Ljava/util/List;)V

    return-void
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mHasNext:Z

    return v0
.end method

.method static synthetic access$202(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .param p1, "x1"    # Z

    .prologue
    .line 72
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mHasNext:Z

    return p1
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Lcom/brixd/niceapp/constant/AppConstant$ModuleType;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getModuleType()Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    return v0
.end method

.method static synthetic access$408(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)I
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    return v0
.end method

.method static synthetic access$410(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)I
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    add-int/lit8 v1, v0, -0x1

    iput v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    return v0
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Lcom/brixd/niceapp/model/TopicModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentTopicModel:Lcom/brixd/niceapp/model/TopicModel;

    return-object v0
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;Ljava/util/List;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .param p1, "x1"    # Ljava/util/List;

    .prologue
    .line 72
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateAppAdapter(Ljava/util/List;)V

    return-void
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    .prologue
    .line 72
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mIsRequesting:Z

    return v0
.end method

.method static synthetic access$702(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .param p1, "x1"    # Z

    .prologue
    .line 72
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mIsRequesting:Z

    return p1
.end method

.method static synthetic access$802(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;I)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .param p1, "x1"    # I

    .prologue
    .line 72
    iput p1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentViewPagerPage:I

    return p1
.end method

.method static synthetic access$900(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;I)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .param p1, "x1"    # I

    .prologue
    .line 72
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->onAppPagerChange(I)V

    return-void
.end method

.method private addCardIconsToDock(Ljava/util/List;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p1, "appModels":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/AppModel;>;"
    const/4 v3, 0x1

    .line 589
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->rhythmAdapter:Lcom/brixd/niceapp/control/RhythmAdapter;

    if-eqz v1, :cond_9

    iget v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    if-gt v1, v3, :cond_36

    .line 590
    :cond_9
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    if-eqz v1, :cond_32

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    invoke-virtual {v1}, Lcom/brixd/niceapp/control/RhythmLayout;->getLayoutWrapper()Landroid/widget/LinearLayout;

    move-result-object v1

    if-eqz v1, :cond_32

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    invoke-virtual {v1}, Lcom/brixd/niceapp/control/RhythmLayout;->getLayoutWrapper()Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v1

    if-lez v1, :cond_32

    .line 591
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    iget v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentViewPagerPage:I

    invoke-virtual {v1, v2, v3}, Lcom/brixd/niceapp/control/RhythmLayout;->shootDownRhythmItem(IZ)Landroid/animation/Animator;

    move-result-object v0

    .line 592
    .local v0, "animator":Landroid/animation/Animator;
    new-instance v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$9;

    invoke-direct {v1, p0, p1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$9;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;Ljava/util/List;)V

    invoke-virtual {v0, v1}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 618
    .end local v0    # "animator":Landroid/animation/Animator;
    :goto_31
    return-void

    .line 612
    :cond_32
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->resetRhythmLayout(Ljava/util/List;)V

    goto :goto_31

    .line 615
    :cond_36
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->rhythmAdapter:Lcom/brixd/niceapp/control/RhythmAdapter;

    invoke-virtual {v1}, Lcom/brixd/niceapp/control/RhythmAdapter;->getAppModels()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    .line 616
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->rhythmAdapter:Lcom/brixd/niceapp/control/RhythmAdapter;

    invoke-virtual {v1}, Lcom/brixd/niceapp/control/RhythmAdapter;->notifyDataSetChanged()V

    goto :goto_31
.end method

.method private fetchData()V
    .registers 7

    .prologue
    const/4 v2, 0x2

    const/16 v4, 0x14

    .line 728
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mIsRequesting:Z

    .line 729
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-static {v1}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v1

    const-class v3, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {v1, v3}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    .line 730
    .local v0, "request":Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->DAILY_NICE_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v1, v3, :cond_24

    .line 731
    iget v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->appJsonObjCallback:Lretrofit/Callback;

    invoke-interface {v0, v2, v1, v4, v3}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->listDailyApps(IIILretrofit/Callback;)V

    .line 745
    :cond_23
    :goto_23
    return-void

    .line 732
    :cond_24
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v1, v3, :cond_3c

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentTopicModel:Lcom/brixd/niceapp/model/TopicModel;

    if-eqz v1, :cond_3c

    .line 733
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentTopicModel:Lcom/brixd/niceapp/model/TopicModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/TopicModel;->getId()I

    move-result v1

    iget v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->appJsonObjCallback:Lretrofit/Callback;

    invoke-interface {v0, v1, v2, v4, v3}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->listTopicApps(IIILretrofit/Callback;)V

    goto :goto_23

    .line 734
    :cond_3c
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->USER_FAVORITES:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v1, v3, :cond_52

    .line 735
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v1

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v1

    iget v3, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->appJsonObjCallback:Lretrofit/Callback;

    invoke-interface/range {v0 .. v5}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->listFavs(IIIILretrofit/Callback;)V

    goto :goto_23

    .line 736
    :cond_52
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GOODS:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v1, v3, :cond_62

    .line 737
    const-string v1, "nicegoods"

    iget v3, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->appJsonObjCallback:Lretrofit/Callback;

    invoke-interface/range {v0 .. v5}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->listCommonData(Ljava/lang/String;IIILretrofit/Callback;)V

    goto :goto_23

    .line 738
    :cond_62
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v1, v3, :cond_70

    .line 739
    iget v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->appJsonObjCallback:Lretrofit/Callback;

    invoke-interface {v0, v2, v1, v4, v3}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryNiceTestApps(IIILretrofit/Callback;)V

    goto :goto_23

    .line 740
    :cond_70
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v1, v2, :cond_7e

    .line 741
    iget v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->appJsonObjCallback:Lretrofit/Callback;

    invoke-interface {v0, v1, v4, v2}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryNiceGameApps(IILretrofit/Callback;)V

    goto :goto_23

    .line 742
    :cond_7e
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->APP_PROM:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v1, v2, :cond_23

    .line 743
    iget v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->appJsonObjCallback:Lretrofit/Callback;

    invoke-interface {v0, v1, v4, v2}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryAppPromoteApps(IILretrofit/Callback;)V

    goto :goto_23
.end method

.method public static getAppPromInstance(Ljava/util/ArrayList;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;)",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;"
        }
    .end annotation

    .prologue
    .line 229
    .local p0, "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->APP_PROM:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    const/4 v1, 0x0

    const/4 v2, 0x1

    const/4 v3, 0x0

    invoke-static {p0, v0, v1, v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;ZZ)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v0

    return-object v0
.end method

.method public static getDailyAppInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .registers 5
    .param p1, "cardType"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;",
            ")",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;"
        }
    .end annotation

    .prologue
    .line 201
    .local p0, "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    const/4 v0, 0x0

    const/4 v1, 0x1

    const/4 v2, 0x0

    invoke-static {p0, p1, v0, v1, v2}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;ZZ)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v0

    return-object v0
.end method

.method public static getDailyAppInstanceForActivity(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .registers 4
    .param p1, "cardType"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;",
            ")",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;"
        }
    .end annotation

    .prologue
    .local p0, "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    const/4 v1, 0x1

    .line 205
    const/4 v0, 0x0

    invoke-static {p0, p1, v0, v1, v1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;ZZ)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v0

    return-object v0
.end method

.method public static getFavoriteAppInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .registers 4
    .param p1, "cardType"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;",
            ")",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;"
        }
    .end annotation

    .prologue
    .local p0, "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    const/4 v1, 0x0

    .line 213
    const/4 v0, 0x0

    invoke-static {p0, p1, v0, v1, v1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;ZZ)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v0

    return-object v0
.end method

.method private static getInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;ZZ)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .registers 8
    .param p1, "cardType"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;
    .param p2, "topicModel"    # Lcom/brixd/niceapp/model/TopicModel;
    .param p3, "shouldFetchDataOnInit"    # Z
    .param p4, "isForActivity"    # Z
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;",
            "Lcom/brixd/niceapp/model/TopicModel;",
            "ZZ)",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;"
        }
    .end annotation

    .prologue
    .line 233
    .local p0, "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    new-instance v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    invoke-direct {v1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;-><init>()V

    .line 234
    .local v1, "fragment":Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 235
    .local v0, "args":Landroid/os/Bundle;
    if-nez p0, :cond_11

    .line 236
    new-instance p0, Ljava/util/ArrayList;

    .end local p0    # "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V

    .line 238
    .restart local p0    # "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    :cond_11
    const-string v2, "InitFetchData"

    invoke-virtual {v0, v2, p3}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 239
    const-string v2, "AppModels"

    invoke-virtual {v0, v2, p0}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    .line 240
    const-string v2, "CardType"

    invoke-virtual {v0, v2, p1}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    .line 241
    if-eqz p2, :cond_27

    .line 242
    const-string v2, "TopicModel"

    invoke-virtual {v0, v2, p2}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    .line 244
    :cond_27
    const-string v2, "IsForActivity"

    invoke-virtual {v0, v2, p4}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 245
    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->setArguments(Landroid/os/Bundle;)V

    .line 246
    return-object v1
.end method

.method private getModuleType()Lcom/brixd/niceapp/constant/AppConstant$ModuleType;
    .registers 3

    .prologue
    .line 748
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->DAILY_NICE_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_9

    .line 749
    sget-object v0, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->NICE_DAILY:Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    .line 762
    :goto_8
    return-object v0

    .line 750
    :cond_9
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_12

    .line 751
    sget-object v0, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->NICE_DAILY:Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    goto :goto_8

    .line 752
    :cond_12
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GOODS:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_1b

    .line 753
    sget-object v0, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->NICE_GOODS:Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    goto :goto_8

    .line 754
    :cond_1b
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_24

    .line 755
    sget-object v0, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->NICE_TEST:Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    goto :goto_8

    .line 756
    :cond_24
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_2d

    .line 757
    sget-object v0, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->NICE_GAME:Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    goto :goto_8

    .line 758
    :cond_2d
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->APP_PROM:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_36

    .line 759
    sget-object v0, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->APP_PROM:Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    goto :goto_8

    .line 762
    :cond_36
    sget-object v0, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->UN_KNOWN:Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    goto :goto_8
.end method

.method public static getNiceGameInstance(Ljava/util/ArrayList;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;)",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;"
        }
    .end annotation

    .prologue
    .line 225
    .local p0, "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    const/4 v1, 0x0

    const/4 v2, 0x1

    const/4 v3, 0x0

    invoke-static {p0, v0, v1, v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;ZZ)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v0

    return-object v0
.end method

.method public static getNiceGoodInstance(Ljava/util/ArrayList;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;)",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;"
        }
    .end annotation

    .prologue
    .line 217
    .local p0, "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GOODS:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    const/4 v1, 0x0

    const/4 v2, 0x1

    const/4 v3, 0x0

    invoke-static {p0, v0, v1, v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;ZZ)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v0

    return-object v0
.end method

.method public static getNiceTestInstance(Ljava/util/ArrayList;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;)",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;"
        }
    .end annotation

    .prologue
    .line 221
    .local p0, "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    const/4 v1, 0x0

    const/4 v2, 0x1

    const/4 v3, 0x0

    invoke-static {p0, v0, v1, v2, v3}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;ZZ)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v0

    return-object v0
.end method

.method public static getTopicAppInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;
    .registers 4
    .param p1, "cardType"    # Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;
    .param p2, "topicModel"    # Lcom/brixd/niceapp/model/TopicModel;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;",
            "Lcom/brixd/niceapp/model/TopicModel;",
            ")",
            "Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;"
        }
    .end annotation

    .prologue
    .local p0, "appModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    const/4 v0, 0x0

    .line 209
    invoke-static {p0, p1, p2, v0, v0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getInstance(Ljava/util/ArrayList;Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;Lcom/brixd/niceapp/model/TopicModel;ZZ)Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;

    move-result-object v0

    return-object v0
.end method

.method private inflateSound()V
    .registers 4

    .prologue
    .line 316
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSoundUtils:Lcom/brixd/niceapp/util/SoundUtils;

    const/high16 v1, 0x7f050000

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/brixd/niceapp/util/SoundUtils;->loadSfx(II)V

    .line 317
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSoundUtils:Lcom/brixd/niceapp/util/SoundUtils;

    const v1, 0x7f050001

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lcom/brixd/niceapp/util/SoundUtils;->loadSfx(II)V

    .line 318
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSoundUtils:Lcom/brixd/niceapp/util/SoundUtils;

    const v1, 0x7f050002

    const/4 v2, 0x2

    invoke-virtual {v0, v1, v2}, Lcom/brixd/niceapp/util/SoundUtils;->loadSfx(II)V

    .line 319
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSoundUtils:Lcom/brixd/niceapp/util/SoundUtils;

    const v1, 0x7f050003

    const/4 v2, 0x3

    invoke-virtual {v0, v1, v2}, Lcom/brixd/niceapp/util/SoundUtils;->loadSfx(II)V

    .line 320
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSoundUtils:Lcom/brixd/niceapp/util/SoundUtils;

    const v1, 0x7f050004

    const/4 v2, 0x4

    invoke-virtual {v0, v1, v2}, Lcom/brixd/niceapp/util/SoundUtils;->loadSfx(II)V

    .line 321
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSoundUtils:Lcom/brixd/niceapp/util/SoundUtils;

    const v1, 0x7f050005

    const/4 v2, 0x5

    invoke-virtual {v0, v1, v2}, Lcom/brixd/niceapp/util/SoundUtils;->loadSfx(II)V

    .line 322
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSoundUtils:Lcom/brixd/niceapp/util/SoundUtils;

    const v1, 0x7f050006

    const/4 v2, 0x6

    invoke-virtual {v0, v1, v2}, Lcom/brixd/niceapp/util/SoundUtils;->loadSfx(II)V

    .line 323
    return-void
.end method

.method private onAppPagerChange(I)V
    .registers 7
    .param p1, "position"    # I

    .prologue
    .line 395
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    invoke-virtual {v2, p1}, Lcom/brixd/niceapp/control/RhythmLayout;->showRhythmAtPosition(I)V

    .line 397
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->toggleRocketBtn(I)V

    .line 398
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    invoke-interface {v2, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/AppModel;

    .line 401
    .local v0, "appModel":Lcom/brixd/niceapp/model/AppModel;
    invoke-virtual {v0}, Lcom/brixd/niceapp/model/AppModel;->getRecommandedBackgroundColor()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/zuiapps/suite/utils/string/HexUtils;->getHexColor(Ljava/lang/String;)I

    move-result v1

    .line 402
    .local v1, "colorTo":I
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mMainView:Landroid/view/View;

    iget v3, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->preColor:I

    const/16 v4, 0x190

    invoke-static {v2, v3, v1, v4}, Lcom/brixd/niceapp/animator/AnimatorUtils;->showBackgroundColorAnimation(Landroid/view/View;III)V

    .line 403
    iput v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->preColor:I

    .line 407
    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v3, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-eq v2, v3, :cond_35

    .line 408
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v2

    new-instance v3, Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;

    invoke-direct {v3, v1}, Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;-><init>(I)V

    invoke-virtual {v2, v3}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 412
    :cond_35
    invoke-virtual {v0}, Lcom/brixd/niceapp/model/AppModel;->getRecommandedDate()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0, v2}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateAppTitle(Ljava/lang/String;)V

    .line 414
    invoke-direct {p0, v0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->trackAppItemDisplayed(Lcom/brixd/niceapp/model/AppModel;)V

    .line 415
    return-void
.end method

.method private resetRhythmLayout(Ljava/util/List;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 621
    .local p1, "appModels":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/AppModel;>;"
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-nez v0, :cond_7

    .line 627
    :goto_6
    return-void

    .line 624
    :cond_7
    new-instance v0, Lcom/brixd/niceapp/control/RhythmAdapter;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    invoke-direct {v0, v1, v2, p1}, Lcom/brixd/niceapp/control/RhythmAdapter;-><init>(Landroid/app/Activity;Lcom/brixd/niceapp/control/RhythmLayout;Ljava/util/List;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->rhythmAdapter:Lcom/brixd/niceapp/control/RhythmAdapter;

    .line 625
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->rhythmAdapter:Lcom/brixd/niceapp/control/RhythmAdapter;

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/control/RhythmLayout;->setRhythmAdapter(Lcom/brixd/niceapp/control/RhythmAdapter;)V

    .line 626
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/control/RhythmLayout;->showRhythmAtPosition(I)V

    goto :goto_6
.end method

.method private setViewPagerScrollSpeed(Landroid/support/v4/view/ViewPager;I)V
    .registers 8
    .param p1, "viewPager"    # Landroid/support/v4/view/ViewPager;
    .param p2, "duration"    # I

    .prologue
    .line 459
    const/4 v0, 0x0

    .line 460
    .local v0, "mScroller":Ljava/lang/reflect/Field;
    :try_start_1
    const-class v2, Landroid/support/v4/view/ViewPager;

    const-string v3, "mScroller"

    invoke-virtual {v2, v3}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    .line 461
    const/4 v2, 0x1

    invoke-virtual {v0, v2}, Ljava/lang/reflect/Field;->setAccessible(Z)V

    .line 462
    new-instance v1, Lcom/brixd/niceapp/control/ViewPagerScroller;

    invoke-virtual {p1}, Landroid/support/v4/view/ViewPager;->getContext()Landroid/content/Context;

    move-result-object v2

    new-instance v3, Landroid/view/animation/OvershootInterpolator;

    const v4, 0x3f19999a

    invoke-direct {v3, v4}, Landroid/view/animation/OvershootInterpolator;-><init>(F)V

    invoke-direct {v1, v2, v3}, Lcom/brixd/niceapp/control/ViewPagerScroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V

    .line 463
    .local v1, "scroller":Lcom/brixd/niceapp/control/ViewPagerScroller;
    invoke-virtual {v0, p1, v1}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V

    .line 464
    invoke-virtual {v1, p2}, Lcom/brixd/niceapp/control/ViewPagerScroller;->setDuration(I)V
    :try_end_24
    .catch Ljava/lang/NoSuchFieldException; {:try_start_1 .. :try_end_24} :catch_29
    .catch Ljava/lang/IllegalArgumentException; {:try_start_1 .. :try_end_24} :catch_27
    .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_24} :catch_25

    .line 469
    .end local v1    # "scroller":Lcom/brixd/niceapp/control/ViewPagerScroller;
    :goto_24
    return-void

    .line 467
    :catch_25
    move-exception v2

    goto :goto_24

    .line 466
    :catch_27
    move-exception v2

    goto :goto_24

    .line 465
    :catch_29
    move-exception v2

    goto :goto_24
.end method

.method private toggleRocketBtn(I)V
    .registers 5
    .param p1, "position"    # I

    .prologue
    .line 426
    const/4 v1, 0x1

    if-le p1, v1, :cond_17

    .line 427
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRocketToHeadBtn:Landroid/widget/ImageButton;

    invoke-virtual {v1}, Landroid/widget/ImageButton;->getVisibility()I

    move-result v1

    if-eqz v1, :cond_16

    .line 428
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRocketToHeadBtn:Landroid/widget/ImageButton;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 429
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRocketToHeadBtn:Landroid/widget/ImageButton;

    invoke-static {v1}, Lcom/brixd/niceapp/animator/AnimatorUtils;->animViewFadeIn(Landroid/view/View;)Landroid/animation/Animator;

    .line 455
    :cond_16
    :goto_16
    return-void

    .line 432
    :cond_17
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRocketToHeadBtn:Landroid/widget/ImageButton;

    invoke-virtual {v1}, Landroid/widget/ImageButton;->getVisibility()I

    move-result v1

    if-nez v1, :cond_16

    .line 433
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRocketToHeadBtn:Landroid/widget/ImageButton;

    invoke-static {v1}, Lcom/brixd/niceapp/animator/AnimatorUtils;->animViewFadeOut(Landroid/view/View;)Landroid/animation/Animator;

    move-result-object v0

    .line 434
    .local v0, "anim":Landroid/animation/Animator;
    new-instance v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$6;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$6;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V

    invoke-virtual {v0, v1}, Landroid/animation/Animator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    goto :goto_16
.end method

.method private trackAppItemDisplayed(Lcom/brixd/niceapp/model/AppModel;)V
    .registers 6
    .param p1, "appModel"    # Lcom/brixd/niceapp/model/AppModel;

    .prologue
    .line 418
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    .line 419
    .local v0, "map":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;"
    const-string v1, "AppName"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/AppModel;->getTitle()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 420
    const-string v1, "AppId"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Lcom/brixd/niceapp/model/AppModel;->getId()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 422
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->activity:Landroid/app/Activity;

    const-string v2, "TrackAppDisplayed"

    invoke-static {v1, v2, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/util/Map;)V

    .line 423
    return-void
.end method

.method private updateAppAdapter(Ljava/util/List;)V
    .registers 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/model/AppModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p1, "appModels":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/AppModel;>;"
    const/4 v4, 0x0

    const/4 v3, 0x1

    .line 537
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    if-eqz v1, :cond_12

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v1}, Landroid/support/v4/app/FragmentActivity;->isFinishing()Z

    move-result v1

    if-eqz v1, :cond_13

    .line 572
    :cond_12
    :goto_12
    return-void

    .line 540
    :cond_13
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    if-eqz v1, :cond_26

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    invoke-virtual {v1}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->isShowing()Z

    move-result v1

    if-eqz v1, :cond_26

    .line 541
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    invoke-virtual {v1}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->dismiss()V

    .line 542
    iput-boolean v3, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->isAdapterUpdated:Z

    .line 545
    :cond_26
    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_34

    .line 546
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mMainView:Landroid/view/View;

    iget v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->preColor:I

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    goto :goto_12

    .line 550
    :cond_34
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v0

    .line 551
    .local v0, "oldAppModelsSize":I
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mCardAppPagerAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;

    if-eqz v1, :cond_42

    iget v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    if-gt v1, v3, :cond_73

    .line 552
    :cond_42
    iput v4, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentViewPagerPage:I

    .line 553
    new-instance v1, Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-virtual {v2}, Landroid/support/v4/app/FragmentActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager;

    move-result-object v2

    invoke-direct {v1, v2, p1}, Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;-><init>(Landroid/support/v4/app/FragmentManager;Ljava/util/List;)V

    iput-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mCardAppPagerAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;

    .line 554
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mViewPager:Landroid/support/v4/view/ViewPager;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mCardAppPagerAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;

    invoke-virtual {v1, v2}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    .line 560
    :goto_5a
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mCardAppPagerAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;->getAppModels()Ljava/util/List;

    move-result-object v1

    iput-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    .line 562
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->addCardIconsToDock(Ljava/util/List;)V

    .line 564
    iget v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    if-gt v1, v3, :cond_7e

    .line 565
    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/model/AppModel;

    invoke-direct {p0, v1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateBgAndText(Lcom/brixd/niceapp/model/AppModel;)V

    goto :goto_12

    .line 556
    :cond_73
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mCardAppPagerAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;

    invoke-virtual {v1, p1}, Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;->addAppModels(Ljava/util/List;)V

    .line 557
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mCardAppPagerAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/fragment/adapter/CardAppPagerAdapter;->notifyDataSetChanged()V

    goto :goto_5a

    .line 567
    :cond_7e
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mViewPager:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v1}, Landroid/support/v4/view/ViewPager;->getCurrentItem()I

    move-result v1

    add-int/lit8 v2, v0, -0x1

    if-ne v1, v2, :cond_12

    .line 568
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mViewPager:Landroid/support/v4/view/ViewPager;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mViewPager:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v2}, Landroid/support/v4/view/ViewPager;->getCurrentItem()I

    move-result v2

    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v1, v2, v3}, Landroid/support/v4/view/ViewPager;->setCurrentItem(IZ)V

    goto/16 :goto_12
.end method

.method private updateAppTitle(Ljava/lang/String;)V
    .registers 6
    .param p1, "timeStr"    # Ljava/lang/String;

    .prologue
    const v3, 0x7f0900b0

    .line 630
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_21

    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentTopicModel:Lcom/brixd/niceapp/model/TopicModel;

    if-eqz v0, :cond_21

    .line 631
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentTopicModel:Lcom/brixd/niceapp/model/TopicModel;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/TopicModel;->getTitle()Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    invoke-direct {p0, v0, v1, v2}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V

    .line 649
    :cond_20
    :goto_20
    return-void

    .line 632
    :cond_21
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->DAILY_NICE_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-eq v0, v1, :cond_39

    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GOODS:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-eq v0, v1, :cond_39

    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-eq v0, v1, :cond_39

    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_3d

    .line 634
    :cond_39
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTimeTitle(Ljava/lang/String;)V

    goto :goto_20

    .line 635
    :cond_3d
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->USER_FAVORITES:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_58

    .line 636
    const v0, 0x7f0c00aa

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getString(I)Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    invoke-direct {p0, v0, v1, v2}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V

    goto :goto_20

    .line 637
    :cond_58
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->APP_PROM:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_20

    .line 638
    const v0, 0x7f0c0013

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getString(I)Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0900af

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    invoke-direct {p0, v0, v1, v2}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V

    .line 639
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mTimeFirstText:Landroid/widget/TextView;

    new-instance v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$10;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$10;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_20
.end method

.method private updateBgAndText(Lcom/brixd/niceapp/model/AppModel;)V
    .registers 5
    .param p1, "appModel"    # Lcom/brixd/niceapp/model/AppModel;

    .prologue
    .line 575
    invoke-virtual {p1}, Lcom/brixd/niceapp/model/AppModel;->getRecommandedBackgroundColor()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/zuiapps/suite/utils/string/HexUtils;->getHexColor(Ljava/lang/String;)I

    move-result v0

    .line 576
    .local v0, "colorTo":I
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mMainView:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setBackgroundColor(I)V

    .line 577
    iput v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->preColor:I

    .line 580
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-eq v1, v2, :cond_21

    .line 581
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v1

    new-instance v2, Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;

    invoke-direct {v2, v0}, Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;-><init>(I)V

    invoke-virtual {v1, v2}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 583
    :cond_21
    invoke-virtual {p1}, Lcom/brixd/niceapp/model/AppModel;->getRecommandedDate()Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateAppTitle(Ljava/lang/String;)V

    .line 585
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->trackAppItemDisplayed(Lcom/brixd/niceapp/model/AppModel;)V

    .line 586
    return-void
.end method

.method private updateTimeTitle(Ljava/lang/String;)V
    .registers 16
    .param p1, "timeStr"    # Ljava/lang/String;

    .prologue
    const/4 v13, 0x7

    const/4 v12, 0x5

    const/4 v11, 0x2

    .line 653
    :try_start_3
    invoke-static {p1}, Lcom/zuiapps/suite/utils/date/DateUtil;->convertStringToDate(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    .line 654
    .local v1, "date":Ljava/util/Date;
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    .line 655
    .local v0, "cal":Ljava/util/Calendar;
    invoke-virtual {v0, v1}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    .line 656
    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v10, 0x5

    invoke-virtual {v0, v10}, Ljava/util/Calendar;->get(I)I

    move-result v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 657
    .local v2, "day":Ljava/lang/String;
    const/4 v9, 0x2

    invoke-virtual {v0, v9}, Ljava/util/Calendar;->get(I)I

    move-result v9

    add-int/lit8 v5, v9, 0x1

    .line 658
    .local v5, "month":I
    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "\u6708\n"

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v6

    .line 659
    .local v6, "monthStr":Ljava/lang/String;
    const-string v4, ""

    .line 660
    .local v4, "dayOfWeekStr":Ljava/lang/String;
    const/4 v9, 0x7

    invoke-virtual {v0, v9}, Ljava/util/Calendar;->get(I)I

    move-result v3

    .line 661
    .local v3, "dayOfWeek":I
    const/4 v9, 0x1

    if-ne v3, v9, :cond_85

    .line 662
    const v9, 0x7f0c010b

    invoke-virtual {p0, v9}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 677
    :cond_51
    :goto_51
    invoke-static {}, Lcom/zuiapps/suite/utils/date/DateUtil;->getDate()Ljava/lang/String;

    move-result-object v7

    .line 678
    .local v7, "today":Ljava/lang/String;
    invoke-static {}, Lcom/zuiapps/suite/utils/date/DateUtil;->getYesterday()Ljava/lang/String;

    move-result-object v8

    .line 680
    .local v8, "yesterday":Ljava/lang/String;
    invoke-static {v1}, Lcom/zuiapps/suite/utils/date/DateUtil;->getDate(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v7, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_104

    .line 681
    sget-object v9, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v10, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v9, v10, :cond_c4

    .line 682
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    const v10, 0x7f0c0112

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v11

    const v12, 0x7f0900b0

    invoke-virtual {v11, v12}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v11

    invoke-direct {p0, v9, v10, v11}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V

    .line 704
    .end local v0    # "cal":Ljava/util/Calendar;
    .end local v1    # "date":Ljava/util/Date;
    .end local v2    # "day":Ljava/lang/String;
    .end local v3    # "dayOfWeek":I
    .end local v4    # "dayOfWeekStr":Ljava/lang/String;
    .end local v5    # "month":I
    .end local v6    # "monthStr":Ljava/lang/String;
    .end local v7    # "today":Ljava/lang/String;
    .end local v8    # "yesterday":Ljava/lang/String;
    :goto_84
    return-void

    .line 663
    .restart local v0    # "cal":Ljava/util/Calendar;
    .restart local v1    # "date":Ljava/util/Date;
    .restart local v2    # "day":Ljava/lang/String;
    .restart local v3    # "dayOfWeek":I
    .restart local v4    # "dayOfWeekStr":Ljava/lang/String;
    .restart local v5    # "month":I
    .restart local v6    # "monthStr":Ljava/lang/String;
    :cond_85
    if-ne v3, v11, :cond_8f

    .line 664
    const v9, 0x7f0c00a6

    invoke-virtual {p0, v9}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getString(I)Ljava/lang/String;

    move-result-object v4

    goto :goto_51

    .line 665
    :cond_8f
    const/4 v9, 0x3

    if-ne v3, v9, :cond_9a

    .line 666
    const v9, 0x7f0c0114

    invoke-virtual {p0, v9}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getString(I)Ljava/lang/String;

    move-result-object v4

    goto :goto_51

    .line 667
    :cond_9a
    const/4 v9, 0x4

    if-ne v3, v9, :cond_a5

    .line 668
    const v9, 0x7f0c013e

    invoke-virtual {p0, v9}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getString(I)Ljava/lang/String;

    move-result-object v4

    goto :goto_51

    .line 669
    :cond_a5
    if-ne v3, v12, :cond_af

    .line 670
    const v9, 0x7f0c010e

    invoke-virtual {p0, v9}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getString(I)Ljava/lang/String;

    move-result-object v4

    goto :goto_51

    .line 671
    :cond_af
    const/4 v9, 0x6

    if-ne v3, v9, :cond_ba

    .line 672
    const v9, 0x7f0c0078

    invoke-virtual {p0, v9}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getString(I)Ljava/lang/String;

    move-result-object v4

    goto :goto_51

    .line 673
    :cond_ba
    if-ne v3, v13, :cond_51

    .line 674
    const v9, 0x7f0c00e3

    invoke-virtual {p0, v9}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getString(I)Ljava/lang/String;

    move-result-object v4

    goto :goto_51

    .line 683
    .restart local v7    # "today":Ljava/lang/String;
    .restart local v8    # "yesterday":Ljava/lang/String;
    :cond_c4
    sget-object v9, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v10, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v9, v10, :cond_e8

    .line 684
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    const v10, 0x7f0c0111

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v11

    const v12, 0x7f0900b0

    invoke-virtual {v11, v12}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v11

    invoke-direct {p0, v9, v10, v11}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V

    goto :goto_84

    .line 702
    .end local v0    # "cal":Ljava/util/Calendar;
    .end local v1    # "date":Ljava/util/Date;
    .end local v2    # "day":Ljava/lang/String;
    .end local v3    # "dayOfWeek":I
    .end local v4    # "dayOfWeekStr":Ljava/lang/String;
    .end local v5    # "month":I
    .end local v6    # "monthStr":Ljava/lang/String;
    .end local v7    # "today":Ljava/lang/String;
    .end local v8    # "yesterday":Ljava/lang/String;
    :catch_e6
    move-exception v9

    goto :goto_84

    .line 686
    .restart local v0    # "cal":Ljava/util/Calendar;
    .restart local v1    # "date":Ljava/util/Date;
    .restart local v2    # "day":Ljava/lang/String;
    .restart local v3    # "dayOfWeek":I
    .restart local v4    # "dayOfWeekStr":Ljava/lang/String;
    .restart local v5    # "month":I
    .restart local v6    # "monthStr":Ljava/lang/String;
    .restart local v7    # "today":Ljava/lang/String;
    .restart local v8    # "yesterday":Ljava/lang/String;
    :cond_e8
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    const v10, 0x7f0c0110

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v11

    const v12, 0x7f0900b0

    invoke-virtual {v11, v12}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v11

    invoke-direct {p0, v9, v10, v11}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V

    goto :goto_84

    .line 689
    :cond_104
    sget-object v9, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v10, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GOODS:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-eq v9, v10, :cond_177

    invoke-static {v1}, Lcom/zuiapps/suite/utils/date/DateUtil;->getDate(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_177

    .line 690
    sget-object v9, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v10, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v9, v10, :cond_137

    .line 691
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    const v10, 0x7f0c0145

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v11

    const v12, 0x7f0900b0

    invoke-virtual {v11, v12}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v11

    invoke-direct {p0, v9, v10, v11}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V

    goto/16 :goto_84

    .line 692
    :cond_137
    sget-object v9, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v10, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v9, v10, :cond_15a

    .line 693
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    const v10, 0x7f0c0144

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v11

    const v12, 0x7f0900b0

    invoke-virtual {v11, v12}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v11

    invoke-direct {p0, v9, v10, v11}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V

    goto/16 :goto_84

    .line 695
    :cond_15a
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v9

    const v10, 0x7f0c0143

    invoke-virtual {v9, v10}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v11

    const v12, 0x7f0900b0

    invoke-virtual {v11, v12}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v11

    invoke-direct {p0, v9, v10, v11}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V

    goto/16 :goto_84

    .line 699
    :cond_177
    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v9, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v10

    const v11, 0x7f090075

    invoke-virtual {v10, v11}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v10

    invoke-direct {p0, v2, v9, v10}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateTitle(Ljava/lang/String;Ljava/lang/String;I)V
    :try_end_196
    .catch Ljava/text/ParseException; {:try_start_3 .. :try_end_196} :catch_e6

    goto/16 :goto_84
.end method

.method private updateTitle(Ljava/lang/String;Ljava/lang/String;I)V
    .registers 7
    .param p1, "title"    # Ljava/lang/String;
    .param p2, "subTitle"    # Ljava/lang/String;
    .param p3, "firstTitleFontSize"    # I

    .prologue
    .line 707
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mTimeFirstText:Landroid/widget/TextView;

    const/4 v1, 0x0

    int-to-float v2, p3

    invoke-virtual {v0, v1, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    .line 708
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mTimeFirstText:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 709
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mTimeSecondText:Landroid/widget/TextView;

    invoke-virtual {v0, p2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 710
    return-void
.end method


# virtual methods
.method protected initActions(Landroid/view/View;)V
    .registers 4
    .param p1, "fragmentView"    # Landroid/view/View;

    .prologue
    .line 370
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->rhythmItemListener:Lcom/brixd/niceapp/control/IRhythmItemListener;

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/control/RhythmLayout;->setRhythmItemListener(Lcom/brixd/niceapp/control/IRhythmItemListener;)V

    .line 371
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mViewPager:Landroid/support/v4/view/ViewPager;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->onPageChangeListener:Landroid/support/v4/view/ViewPager$OnPageChangeListener;

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    .line 372
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRocketToHeadBtn:Landroid/widget/ImageButton;

    new-instance v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$4;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$4;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 380
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSideMenuOrBackBtn:Landroid/widget/Button;

    new-instance v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$5;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$5;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 392
    return-void
.end method

.method protected initData()V
    .registers 6

    .prologue
    .line 293
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->activity:Landroid/app/Activity;

    .line 295
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getArguments()Landroid/os/Bundle;

    move-result-object v2

    const-string v3, "AppModels"

    invoke-virtual {v2, v3}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    .line 296
    .local v0, "appModelsPrepared":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/AppModel;>;"
    if-eqz v0, :cond_5f

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_5f

    .line 297
    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    .line 306
    :goto_1c
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getArguments()Landroid/os/Bundle;

    move-result-object v2

    const-string v3, "CardType"

    invoke-virtual {v2, v3}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sput-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    .line 307
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getArguments()Landroid/os/Bundle;

    move-result-object v2

    const-string v3, "TopicModel"

    invoke-virtual {v2, v3}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/model/TopicModel;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentTopicModel:Lcom/brixd/niceapp/model/TopicModel;

    .line 308
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getArguments()Landroid/os/Bundle;

    move-result-object v2

    const-string v3, "InitFetchData"

    invoke-virtual {v2, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v2

    iput-boolean v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->shouldFetchDataOnInit:Z

    .line 309
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getArguments()Landroid/os/Bundle;

    move-result-object v2

    const-string v3, "IsForActivity"

    invoke-virtual {v2, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v2

    iput-boolean v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->isForActivity:Z

    .line 311
    new-instance v2, Lcom/brixd/niceapp/util/SoundUtils;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v3

    invoke-direct {v2, v3}, Lcom/brixd/niceapp/util/SoundUtils;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSoundUtils:Lcom/brixd/niceapp/util/SoundUtils;

    .line 312
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->inflateSound()V

    .line 313
    return-void

    .line 299
    :cond_5f
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-static {v2}, Lcom/zuiapps/suite/utils/db/SharePrefHelper;->getInstance(Landroid/content/Context;)Lcom/zuiapps/suite/utils/db/SharePrefHelper;

    move-result-object v2

    const-string v3, "CurrentBgColor"

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Lcom/zuiapps/suite/utils/db/SharePrefHelper;->getPref(Ljava/lang/String;I)I

    move-result v1

    .line 300
    .local v1, "currentBgColor":I
    if-eqz v1, :cond_72

    .line 301
    iput v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->preColor:I

    .line 303
    :cond_72
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    goto :goto_1c
.end method

.method protected initViews(Landroid/view/LayoutInflater;)Landroid/view/View;
    .registers 13
    .param p1, "inflater"    # Landroid/view/LayoutInflater;

    .prologue
    const/16 v6, 0x190

    const/4 v10, 0x0

    const/4 v9, 0x0

    .line 326
    const v5, 0x7f030055

    invoke-virtual {p1, v5, v9}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    .line 328
    .local v4, "view":Landroid/view/View;
    const v5, 0x7f0a0121

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mTimeFirstText:Landroid/widget/TextView;

    .line 329
    const v5, 0x7f0a0122

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mTimeSecondText:Landroid/widget/TextView;

    .line 330
    const v5, 0x7f0a011f

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    iput-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mMainView:Landroid/view/View;

    .line 331
    const v5, 0x7f0a0120

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/ImageButton;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRocketToHeadBtn:Landroid/widget/ImageButton;

    .line 332
    const v5, 0x7f0a011c

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/Button;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSideMenuOrBackBtn:Landroid/widget/Button;

    .line 333
    const v5, 0x7f0a0124

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Lcom/brixd/niceapp/control/RhythmLayout;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    .line 334
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    invoke-virtual {v5, v6}, Lcom/brixd/niceapp/control/RhythmLayout;->setScrollRhythmStartDelayTime(I)V

    .line 336
    const v5, 0x7f0a0123

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mPullToRefreshViewPager:Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;

    .line 337
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mPullToRefreshViewPager:Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;

    invoke-virtual {v5, p0}, Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;->setOnRefreshListener(Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener;)V

    .line 338
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mPullToRefreshViewPager:Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;

    invoke-virtual {v5}, Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;->getRefreshableView()Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/support/v4/view/ViewPager;

    iput-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mViewPager:Landroid/support/v4/view/ViewPager;

    .line 339
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mViewPager:Landroid/support/v4/view/ViewPager;

    invoke-direct {p0, v5, v6}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->setViewPagerScrollSpeed(Landroid/support/v4/view/ViewPager;I)V

    .line 342
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    invoke-virtual {v5}, Lcom/brixd/niceapp/control/RhythmLayout;->getRhythmItemWidth()F

    move-result v5

    float-to-int v5, v5

    const/4 v6, 0x1

    const/high16 v7, 0x41200000

    .line 343
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v8

    invoke-virtual {v8}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v8

    invoke-static {v6, v7, v8}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F

    move-result v6

    float-to-int v6, v6

    add-int v3, v5, v6

    .line 344
    .local v3, "rhythmHeight":I
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    invoke-virtual {v5}, Lcom/brixd/niceapp/control/RhythmLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    .line 345
    .local v1, "params":Landroid/view/ViewGroup$LayoutParams;
    iput v3, v1, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 346
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mPullToRefreshViewPager:Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;

    invoke-virtual {v5}, Lcom/handmark/pulltorefresh/extras/viewpager/PullToRefreshViewPager;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    check-cast v2, Landroid/widget/RelativeLayout$LayoutParams;

    .line 347
    .local v2, "parentParams":Landroid/widget/RelativeLayout$LayoutParams;
    iput v3, v2, Landroid/widget/RelativeLayout$LayoutParams;->bottomMargin:I

    .line 349
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v5

    instance-of v5, v5, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    if-eqz v5, :cond_ba

    .line 350
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->activity:Landroid/app/Activity;

    check-cast v5, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    invoke-virtual {v5}, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;->getSlidingMenu()Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    move-result-object v5

    iget-object v6, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mRhythmLayout:Lcom/brixd/niceapp/control/RhythmLayout;

    invoke-virtual {v5, v6}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->addIgnoredView(Landroid/view/View;)V

    .line 351
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->activity:Landroid/app/Activity;

    check-cast v5, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    invoke-virtual {v5}, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;->getSlidingMenu()Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    move-result-object v5

    invoke-virtual {v5, v10}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->setTouchModeAbove(I)V

    .line 354
    :cond_ba
    sget-object v5, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v6, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v5, v6, :cond_e3

    .line 355
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f020066

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 356
    .local v0, "drawable":Landroid/graphics/drawable/Drawable;
    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result v5

    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result v6

    invoke-virtual {v0, v10, v10, v5, v6}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 357
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSideMenuOrBackBtn:Landroid/widget/Button;

    invoke-virtual {v5, v0, v9, v9, v9}, Landroid/widget/Button;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 358
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSideMenuOrBackBtn:Landroid/widget/Button;

    const-string v6, ""

    invoke-virtual {v5, v6}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    .line 366
    .end local v0    # "drawable":Landroid/graphics/drawable/Drawable;
    :cond_e2
    :goto_e2
    return-object v4

    .line 359
    :cond_e3
    iget-boolean v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->isForActivity:Z

    if-eqz v5, :cond_e2

    .line 360
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f02004b

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 361
    .restart local v0    # "drawable":Landroid/graphics/drawable/Drawable;
    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumWidth()I

    move-result v5

    invoke-virtual {v0}, Landroid/graphics/drawable/Drawable;->getMinimumHeight()I

    move-result v6

    invoke-virtual {v0, v10, v10, v5, v6}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 362
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSideMenuOrBackBtn:Landroid/widget/Button;

    invoke-virtual {v5, v0, v9, v9, v9}, Landroid/widget/Button;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 363
    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mSideMenuOrBackBtn:Landroid/widget/Button;

    const-string v6, ""

    invoke-virtual {v5, v6}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    goto :goto_e2
.end method

.method public onActivityCreated(Landroid/os/Bundle;)V
    .registers 9
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    const/4 v6, 0x0

    const v5, 0x7f040003

    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 473
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onActivityCreated(Landroid/os/Bundle;)V

    .line 475
    iget-boolean v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->shouldFetchDataOnInit:Z

    if-eqz v1, :cond_4d

    .line 476
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->fetchData()V

    .line 477
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    if-eqz v1, :cond_45

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_45

    .line 478
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/model/AppModel;

    invoke-direct {p0, v1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateBgAndText(Lcom/brixd/niceapp/model/AppModel;)V

    .line 483
    :goto_27
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, ""

    invoke-static {v1, v2, v5, v4, v6}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->show(Landroid/content/Context;Ljava/lang/CharSequence;IZLandroid/content/DialogInterface$OnCancelListener;)Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    move-result-object v1

    iput-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    .line 484
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    invoke-virtual {v1, v3}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->setCanceledOnTouchOutside(Z)V

    .line 485
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mHandler:Landroid/os/Handler;

    new-instance v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$7;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$7;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V

    const-wide/16 v4, 0x104

    invoke-virtual {v1, v2, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 533
    :goto_44
    return-void

    .line 480
    :cond_45
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mMainView:Landroid/view/View;

    iget v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->preColor:I

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    goto :goto_27

    .line 500
    :cond_4d
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    if-eqz v1, :cond_a3

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_a3

    .line 501
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mAppModels:Ljava/util/List;

    invoke-interface {v1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/model/AppModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/AppModel;->getRecommandedBackgroundColor()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    .line 502
    .local v0, "color":I
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mMainView:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setBackgroundColor(I)V

    .line 506
    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-eq v1, v2, :cond_80

    .line 507
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v1

    new-instance v2, Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;

    invoke-direct {v2, v0}, Lcom/brixd/niceapp/bus/event/UpdateBgColorEvent;-><init>(I)V

    invoke-virtual {v1, v2}, Lcom/squareup/otto/Bus;->post(Ljava/lang/Object;)V

    .line 511
    :cond_80
    const-string v1, ""

    invoke-direct {p0, v1}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->updateAppTitle(Ljava/lang/String;)V

    .line 516
    .end local v0    # "color":I
    :goto_85
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, ""

    invoke-static {v1, v2, v5, v4, v6}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->show(Landroid/content/Context;Ljava/lang/CharSequence;IZLandroid/content/DialogInterface$OnCancelListener;)Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    move-result-object v1

    iput-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    .line 517
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mProgressHUD:Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    invoke-virtual {v1, v3}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->setCanceledOnTouchOutside(Z)V

    .line 518
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mHandler:Landroid/os/Handler;

    new-instance v2, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$8;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$8;-><init>(Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;)V

    const-wide/16 v4, 0x1cc

    invoke-virtual {v1, v2, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    goto :goto_44

    .line 513
    :cond_a3
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mMainView:Landroid/view/View;

    iget v2, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->preColor:I

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    goto :goto_85
.end method

.method public onPause()V
    .registers 3

    .prologue
    .line 272
    invoke-super {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onPause()V

    .line 273
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->unregister(Ljava/lang/Object;)V

    .line 274
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->DAILY_NICE_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_16

    .line 275
    const-string v0, "DailyApps"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    .line 289
    :cond_15
    :goto_15
    return-void

    .line 276
    :cond_16
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_22

    .line 277
    const-string v0, "TopicApps"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    goto :goto_15

    .line 278
    :cond_22
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->USER_FAVORITES:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_2e

    .line 279
    const-string v0, "FavoriteApps"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    goto :goto_15

    .line 280
    :cond_2e
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GOODS:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_3a

    .line 281
    const-string v0, "NiceGoods"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    goto :goto_15

    .line 282
    :cond_3a
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_46

    .line 283
    const-string v0, "NiceTest"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    goto :goto_15

    .line 284
    :cond_46
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_52

    .line 285
    const-string v0, "NiceGame"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    goto :goto_15

    .line 286
    :cond_52
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->APP_PROM:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_15

    .line 287
    const-string v0, "AppProm"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    goto :goto_15
.end method

.method public onRefresh(Lcom/handmark/pulltorefresh/library/PullToRefreshBase;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/handmark/pulltorefresh/library/PullToRefreshBase",
            "<",
            "Landroid/support/v4/view/ViewPager;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 714
    .local p1, "refreshView":Lcom/handmark/pulltorefresh/library/PullToRefreshBase;, "Lcom/handmark/pulltorefresh/library/PullToRefreshBase<Landroid/support/v4/view/ViewPager;>;"
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->mIsRequesting:Z

    if-eqz v0, :cond_5

    .line 725
    :goto_4
    return-void

    .line 718
    :cond_5
    invoke-virtual {p1}, Lcom/handmark/pulltorefresh/library/PullToRefreshBase;->getCurrentMode()Lcom/handmark/pulltorefresh/library/PullToRefreshBase$Mode;

    move-result-object v0

    sget-object v1, Lcom/handmark/pulltorefresh/library/PullToRefreshBase$Mode;->PULL_FROM_END:Lcom/handmark/pulltorefresh/library/PullToRefreshBase$Mode;

    if-ne v0, v1, :cond_17

    .line 719
    iget v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    .line 724
    :goto_13
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->fetchData()V

    goto :goto_4

    .line 721
    :cond_17
    const/4 v0, 0x1

    iput v0, p0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentRequestPage:I

    goto :goto_13
.end method

.method public onResume()V
    .registers 3

    .prologue
    .line 251
    invoke-super {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onResume()V

    .line 252
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->register(Ljava/lang/Object;)V

    .line 253
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->DAILY_NICE_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_16

    .line 254
    const-string v0, "DailyApps"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    .line 268
    :cond_15
    :goto_15
    return-void

    .line 255
    :cond_16
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->TOPIC_APP:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_22

    .line 256
    const-string v0, "TopicApps"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    goto :goto_15

    .line 257
    :cond_22
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->USER_FAVORITES:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_2e

    .line 258
    const-string v0, "FavoriteApps"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    goto :goto_15

    .line 259
    :cond_2e
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GOODS:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_3a

    .line 260
    const-string v0, "NiceGoods"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    goto :goto_15

    .line 261
    :cond_3a
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_TEST:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_46

    .line 262
    const-string v0, "NiceTest"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    goto :goto_15

    .line 263
    :cond_46
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->NICE_GAME:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_52

    .line 264
    const-string v0, "NiceGame"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    goto :goto_15

    .line 265
    :cond_52
    sget-object v0, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;->APP_PROM:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    sget-object v1, Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment;->currentCardType:Lcom/brixd/niceapp/activity/fragment/CardViewPagerFragment$CardType;

    if-ne v0, v1, :cond_15

    .line 266
    const-string v0, "AppProm"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    goto :goto_15
.end method
